package com.example.service.impl;

import com.example.dao.StudentDao;
import com.example.entity.Student;
import com.example.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;


//@Service("serviceUseTemplate")
public class ServiceUseTemplateImpl implements StudentService {

    @Autowired
    @Qualifier("studentDaoUseTemplate")
    private StudentDao dao;

    @Override
    public int insert(  Student student) {
        return 0;
    }

    @Override
    public int queryTotalCount() {
        return dao.queryTotalCount();
    }


}
